package org.csp

import org.springframework.boot.autoconfigure.SpringBootApplication
import org.springframework.boot.runApplication
import org.springframework.web.bind.annotation.GetMapping
import org.springframework.web.bind.annotation.RestController

@SpringBootApplication
@RestController
class KotlinApplication{
    @GetMapping("kotlin")
    fun home() = "kotlin"
}

fun main() {
    System.setProperty("spring.output.ansi.enabled","always")
    var spring = runApplication<KotlinApplication>()

}